<h4>Tool</h4><table border="0"><tr><td valign="top"><b>Name</b></td><td valign="top">Diversity of Categories</td></tr><tr><td valign="top"><b>ID</b></td><td valign="top">21</td></tr><tr><td valign="top"><b>Author</b></td><td valign="top">O.Conrad (c) 2015</td></tr><tr><td valign="top"><b>Specification</b></td><td valign="top">grid</td></tr></table><hr><h4>Description</h4>Grid based analysis of diversity. It is assumed that the input grid provides a classification (i.e. not a contiuous field). For each cell it counts the number of different categories (classes) as well as the connectivity within the chosen search window. <hr><h4>Parameters</h4><table border="1" width="100%" valign="top" cellpadding="5" rules="all"><tr><th>Name</th><th>Type</th><th>Identifier</th><th>Description</th><th>Constraints</th></tr>
<tr><th colspan="5">Input</th></tr><tr><td>Categories </td><td>Grid (input)</td><td>CATEGORIES</td><td></td><td></td></tr><tr><th colspan="5">Output</th></tr><tr><td>Number of Categories</td><td>Grid (output)</td><td>COUNT</td><td>number of different categories (unique values) within search area</td><td></td></tr><tr><td>Diversity</td><td>Grid (output)</td><td>DIVERSITY</td><td>distance weighted average of the number of different categories for distance classes</td><td></td></tr><tr><td>Connectivity</td><td>Grid (output)</td><td>CONNECTIVITY</td><td></td><td></td></tr><tr><td>Averaged Connectivity</td><td>Grid (output)</td><td>CONNECTEDAVG</td><td>average size of the area covered by each category that occurs within search area</td><td></td></tr><tr><th colspan="5">Options</th></tr><tr><td>Search Mode</td><td>Choice</td><td>SEARCH_MODE</td><td></td><td>Available Choices:
[0] Square
[1] Circle
Default: 1</td></tr><tr><td>Search Distance</td><td>Integer</td><td>SEARCH_RADIUS</td><td>Search distance given as number cells.</td><td>Minimum: 1
Default: 3</td></tr><tr><td>Connectivity Neighbourhood</td><td>Choice</td><td>NB_CASE</td><td></td><td>Available Choices:
[0] Rook's case
[1] Queen's case
Default: 1</td></tr><tr><td>Normalize</td><td>Choice</td><td>NORMALIZE</td><td></td><td>Available Choices:
[0] no
[1] by number of cells
[2] by area size
Default: 0</td></tr><tr><td>Weighting Function</td><td>Choice</td><td>DW_WEIGHTING</td><td></td><td>Available Choices:
[0] no distance weighting
[1] inverse distance to a power
[2] exponential
[3] gaussian weighting
Default: 3</td></tr><tr><td>Inverse Distance Weighting Power</td><td>Floating point</td><td>DW_IDW_POWER</td><td></td><td>Minimum: 0.000000
Default: 1.000000</td></tr><tr><td>Inverse Distance Offset</td><td>Boolean</td><td>DW_IDW_OFFSET</td><td>Calculates weights for distance plus one, avoiding division by zero for zero distances</td><td>Default: 1</td></tr><tr><td>Gaussian and Exponential Weighting Bandwidth</td><td>Floating point</td><td>DW_BANDWIDTH</td><td></td><td>Minimum: 0.000000
Default: 0.700000</td></tr></table>